<?php 
	$this->ckeditor = true;
?>

<div class="deal">
	<div class="deal_content_top"></div>
	<div class="deal_content">
	<h3>Tạo thông tin phiếu giảm giá mới</h3>
	<?php if(count($this->errors) > 0): ?>
	<div class="ui-widget">
		<div class="ui-state-highlight ui-corner-all" style="padding: 0 .7em;">
		<?php foreach($this->errors as $error): ?> 
			<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> 
			<?php echo $error ?></p>    
		<?php endforeach ?>
		</div>
	</div>
	<?php endif ?>
	
<?php echo $this->form ?>
<?php echo $this->setupCKEditor( 'deal_notes' ); ?>
<?php echo $this->setupCKEditor( 'deal_intro' ); ?>
<?php echo $this->setupCKEditor( 'deal_fulltext' ); ?>
</div>
<div class="deal_content_bottom"></div>
</div>
